package com.qsw.paper.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author qsw
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("classes")
@ApiModel(value="Classes对象", description="")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Classes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "班级唯一标识")
    @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "导师ID，外键，关联导师表")
    private Integer advisorId;

    @ApiModelProperty(value = "学院ID，外键，关联学院表")
    private Integer collegeId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;


}
